<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ include file="/pub/includ.jsp"%>
<script type="text/javascript">
	  var save = function(){
			var flag = "failure";
			var options = {
				type: 'POST',
				async: false,
				dataType: 'content-type',
				success: function(msg) {
					flag = msg;
				}
			}
			$('#productgroupform').ajaxSubmit(options);
			return flag;
		}
</script>
<form id="productgroupform"  action="<%=path%>/ext/productgroup/save" method="post" target="_self">
<table><tr><td height="2px"></td></tr></table>
<table align="center" border="0" cellpadding="0" cellspacing="1" class="table_nbw" >
	<tr >
		<td align="right" width="30%"  style="background-color:fff;height:25px;">产品分类名称</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="name" name="name" value="${productgroup.name}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:fff;height:25px;">排序号</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="order_num" name="order_num" value="${productgroup.order_num}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:fff;height:25px;">状态</td>
		<td align="left" style="background-color:fff">&nbsp;
			<select  name="status" style="width:80" >
				<option value="0" ${'0'==productgroup.status?'selected':''}>启用</option>
				<option value="1" ${'1'==productgroup.status?'selected':''}>禁用</option>
			</select>
		</td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:fff;height:25px;">备注</td>
		<td align="left" style="background-color:fff">&nbsp;<textarea rows="10" cols="45" class="textfiled_nbw"  type="text" id="remarks" name="remarks" >${productgroup.remarks}</textarea></td>
	</tr>
</table>
<input type=hidden name="id" value="${productgroup.id}" />
<input type=hidden name="pid" value="${productgroup.pid}" />
<input type=hidden name="site_id" value="${SiteId}" />
<input type=hidden name="valid_flag" value="0" />
</form>


